import Layout from '@/module-dashboard/pages/layout'
const _import = require('@/router/import_' + process.env.NODE_ENV)

export default [
  {
    path: '/bill',
    component: Layout,
    redirect: 'noredirect',
    name: '结算管理',
    meta: {
      title: '结算管理',
      icon: 'iconui--_6'
    },
    children: [
      {
        path: 'bill-list1',
        component: _import('settlement/pages/bill-list'),
        name: '配件商账单',
        meta: {
          title: '配件商账单'
        }
      },
      {
        path: 'accounts-list1',
        component: _import('settlement/pages/accounts-list'),
        name: '配件商支付管理',
        meta: {
          title: '配件商支付管理'
        }
      },
      {
        path: 'accounts-payList',
        component: _import('settlement/pages/bill-list-pay'),
        name: '支付',
        hidden: true,
        meta: {
          title: '支付'
        }
      },
      {
        path: 'bill-list2',
        component: _import('settlement/pages/bill-server'),
        name: '服务商账单',
        meta: {
          title: '服务商账单'
        }
      },
      {
        path: 'accounts-list2',
        component: _import('settlement/pages/accounts-server'),
        name: '服务商支付管理',
        meta: {
          title: '服务商支付管理'
        }
      }
    ]
  }
]
